#!/bin/sh
#
# 简单写一下脚本的功能。
#
#
#

if [ $# -ne 1 ]; then
	echo "Usage: $0 卦."
	exit
fi

grep "#### $1" *|grep GUA|head -1 |awk -F# '{print $1}'|sed -e "s/://" |xargs subl 